package com.view.mediator
{
	import com.view.component.SubThreeView;

	import org.puremvc.as3.multicore.interfaces.IMediator;
	import org.puremvc.as3.multicore.patterns.mediator.Mediator;

	public class SubThreeViewMediator extends Mediator implements IMediator
	{
		public static const NAME:String='SubThreeViewMediator';

		public function SubThreeViewMediator(viewComponent:Object)
		{
			super(NAME, viewComponent);
		}

		protected function get subthreeView():SubThreeView
		{
			return viewComponent as SubThreeView;
		}

		override public function onRegister():void
		{
			subthreeView.labelText=NAME + " wrote this.";
		}
	}
}